package com.cgwx.data.dto;


import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * Created by Administrator on 2020/5/9.
 */

@AllArgsConstructor
@Data
public class UserInfo {
	String userName;
	String userId;
	String deptId;
	String roleId;
	String deptName;
	String roleName;
	String groupIds;
	String groupNames;
	String chargeDept;
	String projectsRange;
	String structureRange;
	String token;
	String projectPermission = "0";
	String internalPermission = "0";

	public String getGroupIds() {
		return groupIds;
	}

	public void setGroupIds(String groupIds) {
		this.groupIds = groupIds;
	}

	public String getGroupNames() {
		return groupNames;
	}

	public void setGroupNames(String groupNames) {
		this.groupNames = groupNames;
	}

	public String getInternalPermission() {
		return internalPermission;
	}

	public void setInternalPermission(String internalPermission) {
		this.internalPermission = internalPermission;
	}

	public String getProjectPermission() {
		return projectPermission;
	}

	public void setProjectPermission(String projectPermission) {
		this.projectPermission = projectPermission;
	}

	public String getStructureRange() {
		return structureRange;
	}

	public void setStructureRange(String structureRange) {
		this.structureRange = structureRange;
	}

	public String getChargeDept() {
		return chargeDept;
	}

	public void setChargeDept(String chargeDept) {
		this.chargeDept = chargeDept;
	}

	public String getProjectsRange() {
		return projectsRange;
	}

	public void setProjectsRange(String projectsRange) {
		this.projectsRange = projectsRange;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public UserInfo(String userName, String userId, String roleName, String deptId, String chargeDept) {
		this.userName = userName;
		this.userId = userId;
		this.roleName = roleName;
		this.deptId = deptId;
		this.chargeDept = chargeDept;

	}

	public UserInfo(String userName, String userId,String deptId) {
		this.userName = userName;
		this.userId = userId;
		this.deptId = deptId;
	}

	//文件-补充构造器
	public UserInfo(String userName,String userId,String deptId,String roleId,String deptName,String roleName,String groupIds,String groupNames,String chargeDept) {
		this.userName = userName;
		this.userId = userId;
		this.deptId = deptId;
		this.roleId = roleId;
		this.deptName = deptName;
		this.roleName = roleName;
		this.groupIds = groupIds;
		this.groupNames = groupNames;
		this.chargeDept = chargeDept;
	}

	public UserInfo() {
		super();
	}
}
